package base.innerclass;

/**
 * @Author Fizz Pu
 * @Date 2021/4/10 上午10:34
 * @Version 1.0
 * 失之毫厘，缪之千里！
 */
public class CreateInnerClass {
    static int id = 1;

    class Inner{
    }

    static private class StaticInner{
        
    }

    public Inner to(){
        return new Inner();
    }

    public void get(){
        id++;
    }

    public static void main(String[] args) {
        CreateInnerClass createInnerClass = new CreateInnerClass();
        CreateInnerClass.Inner inner =  createInnerClass.to();
        CreateInnerClass.Inner inner1 = createInnerClass.new Inner();
        StaticInner staticInner = new StaticInner();
    }
}
